package org.kongqian.marketing.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.kongqian.basic.domain.BaseDomain;

/**
 * <p>
 * 存放产生商机时的产品信息
 * </p>
 *
 * @author kq
 * @since 2022-10-24
 */
public class BusinessProduct extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 商品id
     */
    private Long product_id;
    private String name;
    private BigDecimal price;
    private String description;
    private Long type_id;
    private String resource;
    /**
     * 商机id
     */
    private Long business_id;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Long product_id) {
        this.product_id = product_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getType_id() {
        return type_id;
    }

    public void setType_id(Long type_id) {
        this.type_id = type_id;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public Long getBusiness_id() {
        return business_id;
    }

    public void setBusiness_id(Long business_id) {
        this.business_id = business_id;
    }

    @Override
    public String toString() {
        return "BusinessProduct{" +
                "id=" + id +
                ", product_id=" + product_id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", description='" + description + '\'' +
                ", type_id=" + type_id +
                ", resource='" + resource + '\'' +
                ", business_id=" + business_id +
                '}';
    }
}
